package com.wxtl.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.wxtl.dao.ProvinceDAO;
import com.wxtl.entity.GProvince;

@Service
public class ProvinceService {
	private ProvinceDAO provinceDAO;
	
	public ProvinceDAO getProvinceDAO() {
		return provinceDAO;
	}

	public void setProvinceDAO(ProvinceDAO provinceDAO) {
		this.provinceDAO = provinceDAO;
	}

	public List<GProvince> getAllProvince(){
		return provinceDAO.queryAllProvince();
	}
}
